﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace ERP.RBAC
{
    public interface IPermissionsService
    {

        Task<int> CreatePermission(Permissions permissions);

        Task<int> UpdatePermission(Permissions permissions);

        Task<List<Permissions>> GetPermission();

        Task<Permissions> GetPermissionById(int id);

        Task DelPermission(int id);
    }
}
